//---------------------------------------------------------------------------


#pragma hdrstop

#include "Participant11.h"

//---------------------------------------------------------------------------

#pragma package(smart_init)

Participant11::Participant11(int partId, AnsiString statusP, AnsiString nm,
int paid, AnsiString eventA, AnsiString statusA)
{
	this->participantId = partId;
	this->statusParticipant = statusP;
	this->name = nm;
	this->ticketPaid = paid;
	this->eventAccount = eventA;
	this->statusAccount = statusA;
	//status account to know the check in and check out
}

int Participant11::getParticipantId()
{
    return this->participantId;
}

void Participant11::setStatusParticipant(AnsiString status)
{
	this->statusParticipant = status;
}

bool Participant11::checkTicketPaid()
{
    return (this->ticketPaid==35);
}

void Participant11::setStatusAccount()
{
	this->statusAccount = "check-in";
}

AnsiString Participant11::getName()
{
    return this->name;
}

void Participant11::setTicketPaid()
{
    this->ticketPaid = 35;
}




